package com.renting.modules.timer;

import org.quartz.*;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

/**
 * spring轻量级的task 不适用动态复杂的job了 我们使用Quartz
 * 1、导入jar包
 * 2、
 */
@Configuration
@Component
@EnableScheduling // 该注解必须要加
public class ScheduledJob implements Job {


    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {

    }
}
